package com.jason.kotlin.meta.architecture1.api

import com.jason.library.common.data.RetrofitManager

object ApiSource {

    /**
     * meta 图片地址
     */
    private const val BASE_HOST_IMAGE_URL= "https://image.so.com"

    /**
     * 针对meta的接口地址的api获取
     *
     * @param service Class<T>
     * @return T
     */
    fun <T> getMetaService(service: Class<T>): T =
        RetrofitManager.getService(service, BASE_HOST_IMAGE_URL)
}